package de.argh.jteas.mojo.model;

import de.argh.jteas.mojo.model.annotation.ASFieldAnnotation;

public class ASField {

	private ASFieldAnnotation annotation;
	private ASVisibility visibility;
	private ASClass type;
	private String name;
	private boolean required;
	private boolean needImport;
	
	public void setAnnotation(ASFieldAnnotation annotation) {
		this.annotation = annotation;
	}
	
	public ASFieldAnnotation getAnnotation() {
		return annotation;
	}

	public void setVisibility(ASVisibility visibility) {
		this.visibility = visibility;
	}

	public ASVisibility getVisibility() {
		return visibility;
	}

	public void setType(ASClass type) {
		this.type = type;
	}

	public ASClass getType() {
		return type;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getName() {
		return name;
	}
	
	public void setRequired(boolean required) {
		this.required = required;
	}

	public boolean isRequired() {
		return required;
	}

	public void setNeedImport(boolean needImport) {
		this.needImport = needImport;
	}
	
	public boolean isNeedImport() {
		return needImport;
	}
	
}
